package com.oa.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.oa.base.BaseDaoImpl;
import com.oa.dao.ForumDao;
import com.oa.entity.Forum;

@SuppressWarnings("unchecked")
@Repository("forumDao")
public class ForumDaoImpl extends BaseDaoImpl<Forum> implements ForumDao{

	public List<Forum> queryAllForum() {
		return  getSession().createQuery("From Forum f").list();
	}

}
